import request from '@/utils/request'

// 查询打印价格列表
export function listDayinconfig(query) {
  return request({
    url: '/ziliao/dayinconfig/list',
    method: 'get',
    params: query
  })
}

// 查询打印价格详细
export function getDayinconfig(id) {
  return request({
    url: '/ziliao/dayinconfig/' + id,
    method: 'get'
  })
}

// 新增打印价格
export function addDayinconfig(data) {
  return request({
    url: '/ziliao/dayinconfig',
    method: 'post',
    data: data
  })
}

// 修改打印价格
export function updateDayinconfig(data) {
  return request({
    url: '/ziliao/dayinconfig',
    method: 'put',
    data: data
  })
}

// 删除打印价格
export function delDayinconfig(id) {
  return request({
    url: '/ziliao/dayinconfig/' + id,
    method: 'delete'
  })
}
